<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>MoeServer Configuration</title>
<script type="application/javascript" src="./js/jquery-1.7.min.js"></script>
<script>!window.jQuery && document.write('<script src="./js/jquery-1.7.min.js"><\/script>');</script>
<script type="application/javascript" src="./js/config.js"></script>
<script>!window.config && document.write('<script src="./js/config.js"><\/script>');</script>
<link type="text/css" href="./css/moe.css" rel="stylesheet" />
</head>
<body>
<noscript>
	<div>
        Your web browser must have JavaScript enabled
        in order for this application to display correctly.
	</div>
</noscript>

<div class="navigation"><ul><li><a href="./#action=listPosts">Post</a></li><li><a href="./#action=listPools">Pool</a></li><li style="float: right"><a class="selected" href="./config.html">Config</a></li></ul></div>
<form id="search_form" style="color: #EEE;">
	<fieldset id="config_field">
	<p>port: <input id="port" type="text" /></p>
	<p>open_browser: <input id="open_browser" type="checkbox" checked="false" /></p>
	<p>collect_pattern: <select id="collect_pattern"><option value="imouto">imouto</option><option value="default">default</option></select></p>
	<p>page_size: <input id="page_size" type="text" /></p>
	<p>tips_number: <input id="tips_number" type="text" /></p>
	<p>preview_height: <input id="preview_height" type="text" /></p>
	<p>zoom_rate: <input id="zoom_rate" type="text" /></p>
	<p>session_expires: <input id="session_expires" type="text" /></p>
	<p>server_cache: <input id="server_cache" type="text" /></p>
	<p>default_filter: <textarea id="default_filter"></textarea></p>
	</fieldset>
	<div id="pagination">
		<a href="javascript:setConfig();">Save to session</a>
		<a href="javascript:saveConfig();">Save to file</a>
		<a href="javascript:reloadConfig();">Reload from file</a>
		<a href="/">Back</a>
		<a href="javascript:showConfig(default_config);">Default</a>
	</div>
</form>
</body>